//
//  WBStatus.swift
//  Weibo
//
//  Created by yinbo on 2018/3/6.
//  Copyright © 2018年 yinbo. All rights reserved.
//

import UIKit
import YYModel
class WBStatus: NSObject {
    //如果不写Int64，在iPad2/iphone5/5c/4s/4都没法正常显示
    var id:Int64 = 0
    var text:String?
    var user:WBUser?
    //被转发的原创微博
    var retweeted_status:WBStatus?
    // 转发数
    var reposts_count:Int = 0
    // 评论数
    var comments_count:Int = 0
    //点赞数
    var attitudes_count:Int = 0
    var pic_urls:[WBStatusPicture]?
    override var description: String{
        return yy_modelDescription()
    }
    //字典转模型-数组
    class func modelContainerPropertyGenericClass() ->[String: AnyObject] {
        return ["pic_urls":WBStatusPicture.self]
    }
}
